import { Directive, ElementRef } from '@angular/core';

@Directive({
  selector: '[appGreenColor]',
})
export class GreenColorDirective {
  constructor(el: ElementRef) {
    el.nativeElement.style.color = 'green';
    console.log('RedColorDirective', el);
  }
}
